home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 05.zip
/
BS1 part 5
/
PDraw3.0.adf
/
pdraw_rex.lzh
/
Command.pdrx
< prev
next >
Wrap
Text File
|
1992-06-24
|
662b
|
36 lines
/*
@N
This Genie allows you to issue AREXX commands to PDraw directly. Recommended for advanced users only.
*/
signal on error
signal on syntax
call pdm_AutoUpdate(0)
defvalue = getclip(pdm_defval)
command = pdm_GetUserText(40, "Enter Command :"defvalue)
if command = '' then exit_msg()
call setclip(pdm_defval, command)
interpret "returnval = "command
call exit_msg(command" = "returnval)
error:
syntax:
do
if rc = 16 then exit_msg(command)
exit_msg(command ": "errortext(rc))
end
exit_msg:
do
parse arg message
call pdm_updatescreen(1)
if message ~= '' then call pdm_Inform(0, message)
call pdm_AutoUpdate(1)
exit
end